﻿using SqlSugar;

namespace Shop.Model.Entity.Goo;

/// <summary>
/// 商品购物车
/// </summary>
[SugarTable("goods_cart")]
public class GoodsCart: BaseEntity
{
    /// <summary>
    /// 用户ID
    /// </summary>
    public long User { get; set; }
    
    /// <summary>
    /// 商品ID
    /// </summary>
    public long Goods { get; set; }
    
    /// <summary>
    /// 商品规格ID
    /// </summary>
    public long Size { get; set; }
    
    /// <summary>
    /// 数量
    /// </summary>
    public int Count { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    [SugarColumn(IsOnlyIgnoreInsert = true)]
    public DateTime FoundTime { get; set; }
}